﻿using Bricks.Component.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Bricks.Business.Models.Account
{
    [Description("角色/权限组用户")]
    public class UserRole : EntityBase<Guid>
    {
        public UserRole()
        {
            ID = GuidHelper.NewGuid();
        }

        [Display(Name = "用户ID")]
        public Guid UserID { get; set; }

        [Display(Name = "角色ID")]
        public Guid RoleID { get; set; }

        //public virtual UserInfo User { get; set; }

        //public virtual RoleInfo Role { get; set; }
    }
}
